import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app.af94fc38.js";
const _sfc_main = {};
const _hoisted_1 = /* @__PURE__ */ createStaticVNode('<h2 id="\u753B\u76F4\u7EBF\u7684\u6B65\u9AA4" tabindex="-1"><a class="header-anchor" href="#\u753B\u76F4\u7EBF\u7684\u6B65\u9AA4" aria-hidden="true">#</a> \u753B\u76F4\u7EBF\u7684\u6B65\u9AA4</h2><ol><li>\u83B7\u53D6\u753B\u5E03 <code>var canvas = document.getElementById(&#39;canvas&#39;)</code></li><li>\u83B7\u53D6\u753B\u5E03\u7684\u4E0A\u4E0B\u6587 <code>var c = canvas.getContext(&#39;2d&#39;)// \u53EA\u67092d</code></li><li>\u5F00\u59CB\u4E00\u6761\u8DEF\u5F84 <code>c.beginpath()</code></li><li>\u786E\u5B9A\u8D77\u59CB\u70B9 <code>c.moveTo(100,100)</code></li><li>\u786E\u5B9A\u7ED3\u675F\u70B9 <code>c.lineTo(200,200)</code></li><li>\u7740\u8272 <code>c.stroke()</code></li><li>\u7ED3\u675F\u8DEF\u5F84 <code>c.closePath</code></li></ol>', 2);
const _hoisted_3 = [
  _hoisted_1
];
function _sfc_render(_ctx, _cache) {
  return openBlock(), createElementBlock("div", null, _hoisted_3);
}
const Canvas_2022111302_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "Canvas_2022111302.html.vue"]]);
export {
  Canvas_2022111302_html as default
};
